package com.zb.dao.impl;

import com.zb.dao.BaseDao;
import com.zb.dao.WxDao;
import com.zb.entity.Wx;

public class WxDaoImpl implements WxDao{
	private BaseDao db=new BaseDao();
	public void addWx(Wx w) {
		String sql="INSERT INTO wx VALUES(?,?,?,NOW(),NULL,?,NULL)";
		db.update(sql,w.getCar(),w.getServiceExp(),w.getMsi().getId(),w.getStore().getId());
		db.close();
	}

}
